package com.zxp.mall.seckill.scheduled;


import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
//@EnableScheduling // 开启定时任务
public class HelloSchedule {

//    @Scheduled(cron = "0/5 * * * * 5")
    public void test(){
        System.out.println("hello world");
    }
}
